<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>组件注册模板</title>
</head>

<body>
    <div class="app">
        <hello-vue></hello-vue>
    </div>

    <script src="./js/vue.js"></script>
    <script>
        Vue.component('hello-vue', {
            data: function () {
                return {
                }
            },
            template: `
            `
        })
        var xm = new Vue({
            el: '.app',
            data: {

            }
        })



    </script>

</body>

</html>